package com.wuyou.service.impl;

import com.wuyou.entity.TbUser;
import com.wuyou.mapper.TbUserMapper;
import com.wuyou.service.ITbUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.catalina.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yz
 * @since 2022-09-30
 */
@Service
public class TbUserServiceImpl extends ServiceImpl<TbUserMapper, TbUser> implements ITbUserService {

    @Autowired
    private TbUserMapper userMapper;

    @Override
    public TbUser selectById(Long userId) {
        TbUser tbUser = userMapper.selectById(userId);
        return tbUser;
    }
}
